#define TPB 64

typedef struct F32
{
    float3 fr;
    float3 fd;
} FD;

typedef struct F42
{
    float4 R;
    float4 V;
} RV;

extern "C" 
void cuda_ffdot ( float *X,   float  *V,   float  *F,   float  *FDOT,   int *NEXT,  float eps2, long Np,
                 float4 *X_d, float4 *V_d, float3 *F_d, float3 *FDOT_d, int *NEXT_d );
                 
                 
